<template>
  <a-button @click="onBtnClick(node)">
    {{ node.title }}
  </a-button>
</template>

<script setup>
defineProps(['node', 'formInfo'])

function onBtnClick(node) {
  console.log(node)
  alert([node.type, ' todo ', node.name])
}
</script>

<style scoped></style>
